@layout("/common/_container.html",{bg:"bg-white",js:["/assets/modular/system/user/user_edit.js"]}){
<meta name="referrer" content="no-referrer" />
<form id="userForm" lay-filter="userForm" class="layui-form model-form">
    <input name="userId" type="hidden"/>
    <input name="account" type="hidden"/>
    <div class="layui-form-item">
        <label class="layui-form-label">姓名<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input name="name" placeholder="请输入姓名" type="text" class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">出生日期</label>
        <div class="layui-input-block">
            <input id="birthday" name="birthday" placeholder="请输入生日" type="text" class="layui-input" autocomplete="off"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">性别</label>
        <div class="layui-input-block">
            <input type="radio" name="sex" value="M" title="男" checked/>
            <input type="radio" name="sex" value="F" title="女"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">部门<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="deptId" name="deptId" type="hidden">
            <input id="deptName" name="deptName" placeholder="请选择部门" type="text" class="layui-input" lay-verify="required" required autocomplete="off"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">电话</label>
        <div class="layui-input-block">
            <input name="phone" placeholder="请输入电话" type="text" class="layui-input"/>
        </div>
    </div>
    <div class="layui-form-item">
        <!--<label class="layui-form-label">社保卡</label>-->
        <!--<div class="layui-input-block">-->
            <!--<button type="button" class="layui-btn" id="socialImage">-->
                <!--<i class="layui-icon">&#xe67c;</i>上传图片-->
            <!--</button>-->
        <!--</div>-->
    </div>
    <!--<div class="layui-form-item">-->
        <!--<label class="layui-form-label">上传预览</label>-->
        <!--&lt;!&ndash; 隐藏的input,一个隐藏的input（用于保存文件url） &ndash;&gt;-->
        <!--<input type="hidden" id="img_url" name="imgUrl" value=""/>-->
        <!--&lt;!&ndash; 预览区域 &ndash;&gt;-->
        <!--<div class="layui-upload-list">-->
<!--&lt;!&ndash;            src="${ctxPath}/assets/img/3796f8c6-4e52-431b-b717-e42023bcd97a.jpg"&ndash;&gt;-->
            <!--<img class="layui-upload-img" width="200px" height="80px" id="preShow" name="preShow"/>-->
            <!--<p id="demoText"></p>-->
        <!--</div>-->
    <!--</div>-->
    <div class="layui-form-item text-right">
        <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">取消</button>
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>保存</button>
    </div>
</form>
@}
